import { createRouter, createWebHistory } from 'vue-router';
import MainView from "../view/MainView.vue";
import PersonalRecord from "../view/PersonalRecordView.vue";

// Import your route components

// Import other route components as needed

const routes = [
    {
        path: '/',
        name: 'MainView',
        component: MainView
    },
    {
        path: '/personalRecord',
        name: 'PersonalRecord',
        component: PersonalRecord
    }
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
